package cn.iocoder.yudao.module.ent.document.node;

import cn.iocoder.yudao.module.ent.document.BaseNode;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * 微博 节点
 */

@Document(indexName = "node_micro_blog")
@Data
public class NodeMicroBlog extends BaseNode {

    //公司数据加密id
    @Field(name = "cid", type = FieldType.Keyword)
    private String cid;

    @Field(name = "create_time", type = FieldType.Text)
    private String createTime;

    @Field(name = "code", type = FieldType.Long)
    private Long code;

    //简介
    @Field(name = "brief", type = FieldType.Text)
    private String brief;

    //微博昵称
    @Field(name = "nickname", type = FieldType.Text)
    private String nickname;

    //微博url
    @Field(name = "weiboLink", type = FieldType.Text)
    private String weiboLink;

}
